<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>SortUtils - Three.js Docs</title>
	<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<script src="../scripts/highlight.min.js"></script>
	<link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
	<link type="text/css" rel="stylesheet" href="../styles/page.css">
</head>
<body>
	<h1 translate="no">SortUtils</h1>
		<section>
			<header>
			</header>
			<article>
				<h2 class="subsection-title">Import</h2>
				<p><span translate="no">SortUtils</span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank" rel="noopener">Installation#Addons</a>.</p>
				<pre><code class="language-js">import * as SortUtils from 'three/addons/utils/SortUtils.js';</code></pre>
				<div class="container-overview">
				</div>
				<h2 class="subsection-title">Static Methods</h2>
					<h3 class="name name-method" id=".radixSort" translate="no">.<a href="#.radixSort">radixSort</a><span class="signature">( arr : <span class="param-type">Array.&lt;Object></span>, opt : <span class="param-type">Object</span> )</span> </h3>
					<div class="method">
						<div class="description">
							<p>Hybrid radix sort from.</p>
<ul>
<li><a href="https://gist.github.com/sciecode/93ed864dd77c5c8803c6a86698d68dab" target="_blank" rel="noopener">https://gist.github.com/sciecode/93ed864dd77c5c8803c6a86698d68dab</a></li>
<li><a href="https://github.com/mrdoob/three.js/pull/27202#issuecomment-1817640271" target="_blank" rel="noopener">https://github.com/mrdoob/three.js/pull/27202#issuecomment-1817640271</a></li>
</ul>
<p>Expects unsigned 32b integer values.</p>
						</div>
						<table class="params">
							<tbody>
								<tr>
									<td class="name">
										<strong>arr</strong>
									</td>
									<td class="description last">
										<p>The array to sort.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>opt</strong>
									</td>
									<td class="description last">
										<p>The options</p>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				<h2 class="subsection-title">Source</h2>
				<p>
					<a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/utils/SortUtils.js" translate="no" target="_blank" rel="noopener">examples/jsm/utils/SortUtils.js</a>
				</p>
			</article>
		</section>
<script src="../scripts/linenumber.js"></script>
<script src="../scripts/page.js"></script>
</body>
</html>